package com.education.platform.common.exception;


/**
 * 断言处理类，用于抛出异常
 *
 */
public class AssertException {
    /**
     * 抛出业务异常
     * @param message
     */
    public static void throwBusinessEp(String message) {
        throw new BusinessException(message);
    }
    /**
     * 抛出参数异常
     * @param message
     */
    public static void throwParameterEp(String message) {
        throw new ParameterException(message);
    }
}
